package com.neu.fenli2023623.mapper;

import com.neu.fenli2023623.entity.FeeDetails;
import com.neu.fenli2023623.entity.Zyxf;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author surhon
* @description 针对表【zyxf】的数据库操作Mapper
* @createDate 2023-07-11 19:55:49
* @Entity com.neu.fenli2023623.entity.Zyxf
*/
@Mapper
public interface ZyxfMapper {

    List<Map<String, Object>> selectAll();
    int updateAddNote(Zyxf record);
    List<Map<String, Object>> selectByDateRangeOrPatient(String startDate, String endDate,String patientName, String cardNumber,String zyId);
    List<FeeDetails>  selectProjectDetails(String mz_order_id);



    int deleteByPrimaryKey(Long id);

    int insert(Zyxf record);

    int insertSelective(Zyxf record);

    Zyxf selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Zyxf record);

    int updateByPrimaryKey(Zyxf record);

}
